getFullList

inline suspend fun <T : BaseModel> getFullList(sub: String, batch: Int, sortBy: SortFields = SortFields(), filterBy: Filter = Filter(), expandRelations: ExpandRelations = ExpandRelations(), showFields: ShowFields = ShowFields(), skipTotal: Boolean = false): List<T>

Fetches all records in the collection at once

Parameters

sub

The collection you wish to preform this action on

batch

The amount of records you wish to fetch.